package jvm.jtacck.serials;

import java.io.Serializable;
import java.util.List;
import jvm.jtacck.db.records.ShippingInformation;

/**
 * @author Jesse Jeng
 * 
 *      The ShippingList class wraps a value of the type
 *      List<ShippingInformation> in an object.
 *      
 *      An object of type ShippingList contains a single field
 *      whose type is List<ShippingInformation>.
 *      
 */
public class ShippingList implements Serializable {
    /**
     * serialVersionUID for the class
     */
    private static final long serialVersionUID = -1334572194511333187L;
    /**
     * A list of ShippingInformation objects
     * 
     * See ShippingInformation
     */
    public final List<ShippingInformation> shippingList;
    
    /**
     * Constructs a newly allocated ShippingList object that
     * represents the specified list of ShippingInformation objects
     * 
     * @param clientSiteList
     *      The List<ShippingInformation> to be contained in an
     *      ShippingList.
     */     
    public ShippingList(List<ShippingInformation> shippingList) {
        this.shippingList = shippingList;
    }
}
